<?php
require APPLICATION_PATH . '/languages/Translate.php';
class Game_View_Helper_T extends Zend_View_Helper_Abstract
{
    public function t($string, $lang = null){
        $translate = Languages_Translate::getInstance();
        $translate->setLang($lang);
        return $translate->translate($string);
    }
}